package com.ssc.chain.tcfp.core.client;

/**
 * @author mingjian
 * @version 1.0
 * Create by 2025/7/10 17:49
 */
public interface TcfpUploadProgressListener {

    /**
     * 上传开始
     */
    void onStart(String uploadId, long totalBytes);

    /**
     * 上传进度回调
     */
    void onProgress(String uploadId, long currentBytes, long totalBytes);

    /**
     * 上传完成
     */
    void onComplete(String uploadId);

    /**
     * 上传出错
     */
    void onError(String uploadId, Exception e);
}
